package com.wzd.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wzd.eduservice.entity.EduCourse;
import com.wzd.eduservice.entity.Live;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wzd.eduservice.entity.frontvo.CourseQueryVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzd
 * @since 2021-04-25
 */
public interface LiveService extends IService<Live> {

    boolean startOnLine(String id);

    boolean updataPublic(String id);

    Map<String, Object> liveFrontPageList(Page<EduCourse> pageParam, CourseQueryVo courseQuery, String memberIdByJwtToken);

    boolean isPublicByCourseId(String courseId);
}
